<?php
namespace Api\Controller;
use Think\Controller;
class GoodsController extends Controller {
    public function getAttr(){
        $model_id = I("model_id", 0);
        $goods_id = I("goods_id", 0);
        if($model_id == 0){
            $attr_html = "";
        }else{
            $attr_html = build_attr_html($model_id, $goods_id);
        }
        echo $attr_html;
    }
}